<template>
  <component :is="LayoutComponents[themeConfig.layout]" />
</template>

<script setup lang="ts">
import { GlobalStore } from '@/store'
import { computed } from 'vue'
import LayoutVertical from './LayoutVertical/index.vue'

const LayoutComponents: { [key: string]: unknown } = {
  vertical: LayoutVertical
  // classic: LayoutClassic,
  // transverse: LayoutTransverse,
  // columns: LayoutColumns
}

const globalStore = GlobalStore()
const themeConfig = computed(() => globalStore.themeConfig)
</script>

<style></style>
